package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Article;
import com.itheima.pojo.PageBean;
import com.itheima.pojo.Result;

public interface ArticleService extends IService<Article> {
    Result<String> add(Article article);

    PageBean<Article> getList(Integer pageNum, Integer pageSize, String title, String categoryId, String state);

    Result<String> edit(Article article);

}
